﻿using Infrastructure.AggregateBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Domain.Model
{
    [Table("InviteLog")]
    public class InviteLogAggregate : AggregateRoot<InviteLogAggregate, int>
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public override int ID { get; set; }
        [StringLength(20)]
        public string Phone { get; set; }
        [StringLength(10)]
        public string SuperorCode { get; set; }
        public int UserID { get; set; }
        public int SuperorID { get; set; }
    }
}
